/* src/components/ModelIntroductionCard/ModelIntroductionCard.css */
.model-introduction-card {
  width: 96.4375rem; /* 调整宽度以匹配示意图 */
  min-height: 50rem; /* 800px */
  border-radius: 0.5rem; /* 8px */
  background-color: #fff;
  padding: 1.09375rem 2rem;
  margin-bottom: 1.09375rem;
  margin-left: -1%;
}

.model-introduction-card-header {
  display: flex;
  border-bottom: 0.0625rem solid #ddd; /* 1px */
  margin-bottom: 1rem;
}

.model-introduction-card-tab {
  margin-left: 1rem;
  font-size: 1.25rem; /* 20px */
  color: #333;
  background-color: transparent;
  padding: 0.5rem 0rem;
  border: none;
  cursor: pointer;
  outline: none;
  position: relative;
  margin-right: 3%;
  margin-left: 2.3125rem
}

.model-introduction-card-tab.active {
  margin-left: 2.3125rem;
  color: #2468F2;
  border-bottom: 0.125rem solid #2468F2; /* 2px */
}

.model-introduction-card-tab.active::after {
  content: '';
  position: absolute;
  bottom: -0.125rem; /* -2px */
  left: -1.25rem;
  right: -1.25rem;
  height: 0.125rem; /* 2px */
  background-color: #2468F2;
  border-bottom: 0.125rem solid #2468F2; /* 2px */
}

.model-introduction-card-tab:hover {
  color: #0056b3;
}

.model-introduction-card-content {
  margin-left: 1rem;
  line-height: 1.5;
}

.model-introduction-card-content h2 {
  font-size: 1.75rem; /* 28px */
  color: #333333;
  font-weight: bold;
}

.model-introduction-card-content p {
  margin-bottom: 1rem;
  font-size: 1.25rem; /* 20px */
  max-width: 90%;
  color: #555;
}

.model-introduction-card-description {
  margin: 0.625em 0;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #555;
}

.model-introduction-card-citation {
  font-size: 1.15rem;
  line-height: 1.5;
  background-color: #F2F5F9;
  padding: 0.625rem;
  border-radius: 0.25rem;
}

.model-introduction-card-pre {
  white-space: pre-wrap; /* 保持换行符 */
  word-wrap: break-word; /* 强制长单词换行 */
  overflow-wrap: break-word;
}
